package com.lanou3g.ptp.teachlink.service;


import com.github.pagehelper.PageInfo;
import com.lanou3g.ptp.entity.Student;
import com.lanou3g.ptp.entity.Teachlink;

import java.util.List;

public interface TeachlinkService {
    //查找所有教学环节
    PageInfo<Teachlink> findAll(Integer page, Integer size);
    //模糊查询
    PageInfo<Teachlink> findByKeyword(Integer page, Integer size, String keyword);
    //通过ID查询
    Teachlink findById(Long id);
    //新增教学环节
    void insert(Teachlink teachlink);
    //修改
    void update(Long id,Teachlink teachlink);
    //删除
    void delete(Long id);
    //批量删除
    void deletes(Long[] ids);

}
